package com.youdoneed.friends.query;

import com.querydsl.core.types.Path;
import com.querydsl.core.types.PathMetadata;
import com.querydsl.core.types.dsl.DateTimePath;
import com.querydsl.core.types.dsl.StringPath;
import com.querydsl.sql.ColumnMetadata;
import com.youdoneed.friends.model.RemoveCoolFaceSearch;

import javax.annotation.Generated;
import java.sql.Types;

import static com.querydsl.core.types.PathMetadataFactory.forVariable;

/**
 * QRemoveCoolFaceSearch is a Querydsl query type for RemoveCoolFaceSearch
 */
@Generated("com.querydsl.sql.codegen.MetaDataSerializer")
public class QRemoveCoolFaceSearch extends com.querydsl.sql.RelationalPathBase<RemoveCoolFaceSearch> {

    private static final long serialVersionUID = 66500971;

    public static final QRemoveCoolFaceSearch RemoveCoolFaceSearch = new QRemoveCoolFaceSearch("RemoveCoolFaceSearch");

    public final DateTimePath<java.util.Date> createTime = createDateTime("createTime", java.util.Date.class);

    public final StringPath removeCoolfaceSearchId = createString("removeCoolfaceSearchId");

    public final StringPath searchId = createString("searchId");

    public final StringPath userId = createString("userId");

    public final com.querydsl.sql.PrimaryKey<RemoveCoolFaceSearch> primary = createPrimaryKey(removeCoolfaceSearchId);

    public QRemoveCoolFaceSearch(String variable) {
        super(RemoveCoolFaceSearch.class, forVariable(variable), "null", "RemoveCoolFaceSearch");
        addMetadata();
    }

    public QRemoveCoolFaceSearch(String variable, String schema, String table) {
        super(RemoveCoolFaceSearch.class, forVariable(variable), schema, table);
        addMetadata();
    }

    public QRemoveCoolFaceSearch(String variable, String schema) {
        super(RemoveCoolFaceSearch.class, forVariable(variable), schema, "RemoveCoolFaceSearch");
        addMetadata();
    }

    public QRemoveCoolFaceSearch(Path<? extends RemoveCoolFaceSearch> path) {
        super(path.getType(), path.getMetadata(), "null", "RemoveCoolFaceSearch");
        addMetadata();
    }

    public QRemoveCoolFaceSearch(PathMetadata metadata) {
        super(RemoveCoolFaceSearch.class, metadata, "null", "RemoveCoolFaceSearch");
        addMetadata();
    }

    public void addMetadata() {
        addMetadata(createTime, ColumnMetadata.named("create_time").withIndex(4).ofType(Types.TIMESTAMP).withSize(19).notNull());
        addMetadata(removeCoolfaceSearchId, ColumnMetadata.named("remove_coolface_search_id").withIndex(1).ofType(Types.VARCHAR).withSize(32).notNull());
        addMetadata(searchId, ColumnMetadata.named("search_id").withIndex(2).ofType(Types.VARCHAR).withSize(32).notNull());
        addMetadata(userId, ColumnMetadata.named("user_id").withIndex(3).ofType(Types.VARCHAR).withSize(32).notNull());
    }

}

